home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / AUTIMP21.ZIP;1 / AITEST.ZIP / README.PRN < prev    next >
Encoding:
Text File  |  1993-08-06  |  89.9 KB  |  2,311 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.            "README.DOC" File for the Test Drive version of AutoImport 2.1
  9.  
  10.                              Spalding Software, Inc.
  11.                         154 Technology Parkway, Suite 250
  12.                                Norcross, GA  30092
  13.                                       USA
  14.                    Voice: (404) 449-1634    Fax: (404) 449-0052
  15.  
  16.      The Demo & Test Drive diskette kit includes a user's guide that provides
  17.      introductory information about how to use the AutoImport Test Drive.  This
  18.      file provides additional and more detailed information about using
  19.      AutoImport.
  20.  
  21.      REMEMBER:
  22.  
  23.           To run the Demo, type AIDEMO and press <Enter>
  24.  
  25.           To run the Test Drive, type AI and press <Enter>
  26.  
  27.  
  28.  
  29.      FILES --------------------------------------------------------------------
  30.  
  31.      Three files are involved in a file translation using AutoImport: Input,
  32.      Output, and Mask.  The Input File contains the information that you want to
  33.      translate.  You use AutoImport to create a Mask, which is a set of
  34.      instructions that tell AutoImport how to translate the Input File.  During
  35.      translation, AutoImport creates an Output File containing the translated
  36.      data.
  37.  
  38.  
  39.      >> INPUT FILES <<
  40.  
  41.      The Input File contains the data you want to translate.  The file can be
  42.      any ASCII file.  The Input File is typically a print file or output from
  43.      another computer, such as a mainframe or a PC.  The Printer Interceptor
  44.      utility can also create Input Files by capturing output sent to a printer
  45.      port.
  46.  
  47.      There is no limit to the record size of the file or the number of records
  48.      in the file.  However, information can only be translated from the first
  49.      1024 characters of each record.
  50.  
  51.      AutoImport can handle files that have their information formatted many
  52.      different ways.  Files that have their data in a columnar format are easier
  53.      to work with.  Utilities are provided that convert several types of non-
  54.      ASCII and non-columnar files into ASCII columnar files.
  55.  
  56.      The Input File can contain printer control codes (ASCII characters 0
  57.      through 31).  The control codes can be removed by using the Mask Screen's
  58.      Exclude Characters option.
  59.  
  60.  
  61.      SPECIFYING AN INPUT FILE FOR TRANSLATION
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.      The Input File containing the information to be translated can be selected
  77.      from either the Mask Screen or the Translation Screen.  When a mask is
  78.      created, the name of the file that was displayed during the definition
  79.      process is saved as part of the mask.  AutoImport uses this as the default
  80.      file name to translate.  This file name can be changed or overridden at the
  81.      Translation Screen.
  82.  
  83.  
  84.      CONVERTING FILES FOR USE AS AN INPUT FILE
  85.  
  86.      Prior to displaying a file for mask definition, you may want to convert the
  87.      file using the functions available from the Utilities Screen.  These
  88.      functions make mask definition easier and more effective for certain types
  89.      of files.  Following are the types of conversions that are available:
  90.  
  91.      LINE-SPLIT     Splits the Input File vertically by producing two or more
  92.                     files, each with a shorter specified record length.
  93.  
  94.      RECORD-SPLIT   Splits a file with a large number of records into several
  95.                     files, each with a specified number of lines.
  96.  
  97.      TABS           Expands tabs by inserting spaces to align the data in
  98.                     columns. 
  99.  
  100.      CSV            Converts comma separated value file to fixed length column
  101.                     file. 
  102.  
  103.      FIXED          Breaks up a file with fixed length records without record
  104.                     separators into a fixed length file with record separators.
  105.  
  106.      UNSTACK        Makes single-line items of multiple lines that logically go
  107.                     together.
  108.  
  109.      DBASE          Converts a dBase II, III, or IV data file into an ASCII
  110.                     columnar file with the database field names above each
  111.                     column.
  112.  
  113.      EBCDIC to ASCII     Converts a file that has been downloaded from an IBM
  114.                          mainframe or midrange computer that has EBCDIC encoding
  115.                          into an ASCII encoded file.
  116.  
  117.  
  118.      CAPTURING PRINTER OUTPUT FOR USE AS AN INPUT FILE
  119.  
  120.      Some applications cannot print their output to a disk file.  AutoImport's
  121.      Printer Interceptor is a Terminate and Stay Resident (TSR) program that
  122.      intercepts output sent to a printer port and writes it to a Capture File.
  123.  
  124.      Printer Interceptor can be installed, modified and un-installed from either
  125.      the Printer Interceptor Screen, or from the DOS command line.
  126.  
  127.  
  128.      >> MASK FILES <<
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.      A Mask File contains the set of instructions defining how the data in an
  145.      Input File will be copied and translated into a specific type of Output
  146.      File.  These instructions indicate which columns and lines are included,
  147.      and how they should be translated.  It also contains either the specified
  148.      or default Input File name, Output File name and type of translation.  A
  149.      Mask File must be saved to disk before a translation can be performed.
  150.  
  151.  
  152.      SAVING AND NAMING A MASK FILE
  153.  
  154.      The default name for the Mask File is the same as the Input File name with
  155.      the extension of .MSK, which is automatically added to the name of all Mask
  156.      Files.  When providing a name for a mask, the current mask name is
  157.      displayed.  A new name can be entered by typing over the existing name. 
  158.      This leaves the original Mask File on disk unchanged.  Mask Files can be
  159.      named and saved from both the Mask Screen and the Translation Screen.
  160.  
  161.  
  162.      MODIFYING OR DUPLICATING A MASK
  163.  
  164.      A previously defined mask can be modified by retrieving the Mask File,
  165.      making any desired changes, and then saving it.  A file saved with the same
  166.      name, replaces the original file.  Entering a new name at the prompt for
  167.      file name at the Save option, will save the mask as a new file and leave
  168.      the original mask unchanged.
  169.  
  170.      The Mask File can be retrieved from either the Mask Screen or the
  171.      Translation Screen.  From the Mask Screen, all of the mask settings can be
  172.      changed.  From the Translation Screen, changes are primarily limited to
  173.      selecting the Input File, Output File and translation type.
  174.  
  175.  
  176.      REUSING A MASK
  177.  
  178.      AutoImport's method of translation using a defined set of instructions is
  179.      especially useful when you regularly translate files with the same
  180.      structure (e.g., periodic reports).  Once a set of translation instructions
  181.      is defined and saved as a mask, it can be used whenever it describes the
  182.      data selection desired for an Input File.
  183.  
  184.  
  185.      >> OUTPUT FILES <<
  186.  
  187.      AutoImport places the extracted data in an Output File whose name, file
  188.      type, and location on the disk are specified by the user.
  189.  
  190.  
  191.      SELECTING OUTPUT FILE TYPE
  192.  
  193.      AutoImport can translate a file into many different file formats.  The
  194.      correct file extension is automatically appended to each Output File.
  195.  
  196.      The Output File type can be selected from either the Mask or Translation
  197.      Screens.  From the Mask Screen, the Output File type is selected with the
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.      Files Output Type option.  From the Translation Screen, it is selected with
  213.      the Type option.
  214.  
  215.      The available translation types are displayed.  The currently selected type
  216.      is highlighted.  Examine the documentation accompanying your software
  217.      application to determine the file type and/or file extension required.  Use
  218.      the cursor keys to choose the output type desired.
  219.  
  220.      AutoImport can translate data into the following file types:
  221.  
  222.      SPREADSHEETS        Lotus 1-2-3 and Symphony, Microsoft Excel, and Borland
  223.                          Quattro and Quattro Pro.
  224.  
  225.      DATABASES           dBase II, III, III-Plus and IV, FoxPro, Clipper, Alpha
  226.                          4, and Clarion. Interchange   Columnwise DIF, Rowwise
  227.                          DIF and Symbolic Link files (SYLK).
  228.  
  229.      TEXT                Standard Data Format (SDF), fixed record format without
  230.                          delimiters, Tab Separated Variable (TSV), Comma
  231.                          Separated Variable (CSV), print image, and mailing
  232.                          label format.
  233.  
  234.      WORD PROCESSING     WordPerfect secondary merge file, Microsoft Word data
  235.                          document, and DOS Text.
  236.  
  237.  
  238.      SELECTING OUTPUT FILE NAME
  239.  
  240.      The Output File name defaults to the Input File name.  You can change the
  241.      name of the Output File to any name supported by the DOS naming
  242.      conventions.  AutoImport adds the file extension based on the type of
  243.      Output File you want created when the translation is performed.
  244.  
  245.      When a mask is saved, AutoImport saves the name of the last specified
  246.      Output File.  This name is used when the mask is used for translation.
  247.  
  248.      The Output File name can be specified from the Translation Screen by
  249.      selecting the Output File option.  You may also specify the Output File
  250.      name at the Mask Screen by selecting the Files Output Name option.
  251.  
  252.  
  253.      TRANSLATING TO AN EXISTING OUTPUT FILE
  254.  
  255.      The output of a translation is usually to a newly-created file, however,
  256.      you can direct the output to an existing file.  In this case, you can
  257.      direct AutoImport to Append the new data to the end of an existing file, or
  258.      to Replace the data in the existing file with data from the current
  259.      translation.
  260.  
  261.      AutoImport's File-combine option functions in the same way as the File
  262.      Combine option in Lotus 1-2-3 and other spreadsheet programs.  This option
  263.      is valid only for spreadsheet Output File types.
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.      MASKING AN INPUT FILE ----------------------------------------------------
  281.  
  282.      AutoImport offers extensive methods of specifying treatment for the data in
  283.      Input Files.  Information can be selectively included or excluded when the
  284.      Input File is translated.  The settings and selections are defined on the
  285.      Mask Screen and saved in a file called the Mask File.
  286.  
  287.      The first step in defining a Mask is to select the Input File.  The Mask
  288.      Screen  provides a "window" to view the Input File.  The window can be
  289.      moved to view any portion of the Input File.
  290.  
  291.      While the Input File is displayed, selections are made from the menus. 
  292.      AutoImport shows the effects of these selections by changing the foreground
  293.      and background colors of the information in the Input File.
  294.  
  295.  
  296.      >> MOVING AROUND THE MASK SCREEN <<
  297.  
  298.      Many operations in AutoImport involve moving the cursor to a position on
  299.      the screen and selecting an action to take place at that cursor position in
  300.      the Input File.  Several techniques are available for moving the window and
  301.      positioning the cursor in the Input File.  These techniques include the use
  302.      of cursor keys, function keys and search routines.
  303.  
  304.  
  305.      CURSOR KEY OPERATIONS
  306.  
  307.      The cursor keys provide an easy way to move around the Mask Screen when in
  308.      the Ready mode.  These keys are also used to define the ranges of lines and
  309.      columns when in the Point mode.
  310.  
  311.      DOWN ARROW     Moves the cursor down one line
  312.  
  313.      UP ARROW       Moves the cursor up one line
  314.  
  315.      RIGHT ARROW    Moves the cursor to the right one position
  316.  
  317.      LEFT ARROW     Moves the cursor to the left one position
  318.  
  319.      PAGE UP        Displays the previous 20 lines of the Mask and Input File
  320.                     while leaving the cursor at the same position
  321.  
  322.      PAGE DOWN      Displays the next 20 lines of the Mask and Input File while
  323.                     leaving the cursor at the same position on the screen
  324.  
  325.      HOME           Displays the first 20 lines on the Input File and moves the
  326.                     cursor to line 1 position 1
  327.  
  328.      TAB            Displays the next 77 positions to the right of the currently
  329.                     displayed lines while leaving the cursor at the same
  330.                     position
  331.  
  332.      SHIFT TAB      Displays the previous 77 positions to the left of the
  333.                     currently displayed lines while leaving the cursor at the
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.                     same position
  349.  
  350.      CONTROL RIGHT  If the cursor is not in a column, moves to next word.  If
  351.                     cursor is in a column, moves to first position past column
  352.  
  353.      CONTROL LEFT   Moves cursor to previous word or column
  354.  
  355.      END            Toggles the end mode on and off, redefining the movement
  356.                     keys to the following operations:
  357.  
  358.      END UP         Displays the first 20 lines of the mask and moves the cursor
  359.                     to line one, in the same column position
  360.  
  361.      END DOWN       Displays the last 20 lines of the Input File and moves the
  362.                     cursor to the last line, in the same column position
  363.  
  364.      END LEFT       Displays the currently displayed lines, beginning at the
  365.                     first position of each line and moves the cursor to the
  366.                     first position in the line
  367.  
  368.      END RIGHT      Displays the last position of the currently displayed lines
  369.                     and moves the cursor to the last position in the line
  370.  
  371.      END HOME       Displays the last 20 lines of the right-most positions of
  372.                     the Input File and moves the cursor to the last line and
  373.                     position in the Input File
  374.  
  375.      END PAGE DOWN  Displays the last 20 lines in the mask and moves the cursor
  376.                     to the last line, in the same position
  377.  
  378.      END PAGE UP    Same as End Up
  379.  
  380.  
  381.      MOVING THE CURSOR TO A SPECIFIC LINE
  382.  
  383.      Pressing the <F3> key will prompt for the line in the Input File at which
  384.      to place the cursor.  The Input File is redisplayed with the specified line
  385.      at the top of the window.
  386.  
  387.  
  388.      SEARCHING FOR A SPECIFIC STRING OF CHARACTERS
  389.  
  390.      To quickly find and display a line in the Input File that contains a
  391.      particular string of characters, select the Search String option.  At the
  392.      prompt, enter the string of characters to be searched for.  The search is
  393.      not case dependent, upper and lower case letters are equivalent.  The next
  394.      occurrence of the string in the file, if any, is displayed on the top line
  395.      of the window with the cursor on the first character of the string.  To
  396.      find the next occurrence, select Next.  To find the first occurrence select
  397.      First.
  398.  
  399.      NOTE:   To search for a character string and replace it with another
  400.      string, use the Mask Screen's Exclude Characters option.
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.      SEARCHING FOR A CHARACTER WITH A SPECIFIC ASCII CODE
  417.  
  418.      Characters, such as graphics characters, not easily entered from the
  419.      keyboard can be located using their ASCII values.  To find lines containing
  420.      a specified character, select the Search ASCII-character option.  At the
  421.      prompt, type in the number (0-255) of the ASCII code representing the
  422.      character.  The next occurrence of the character in the file, if any, is
  423.      displayed on the top line of the window with the cursor resting on the
  424.      character.  To find the next occurrence, select Next.  To display the first
  425.      occurrence of the character in the file, select First.
  426.  
  427.  
  428.      >> DEFINING COLUMNS <<
  429.  
  430.      Columns are used to define the positions, or cells, within each line of the
  431.      Input File that will be translated to the Output File.  Numeric data is
  432.      translated only if included within the defined range of a column.  A column
  433.      encompasses all lines in the Input File for the range specified.  A maximum
  434.      of 256 columns can be defined in any one mask.  Columns cannot overlap.
  435.  
  436.      To extract data from an Input File, columns must be defined.  You can
  437.      specify column ranges using the cursor key on the Mask Screen, or use
  438.      AutoImport's Auto-columns feature as a basis for definition of a mask.  You
  439.      can also add columns or remove columns from an existing mask to suit a
  440.      particular need.
  441.  
  442.      After a the range of a column is defined, the type of cells that comprise
  443.      each of the lines within a column's range can be specified.  The output
  444.      sequence of columns can also be defined.
  445.  
  446.  
  447.      MANUAL COLUMN DEFINITION
  448.  
  449.      Columns may be defined by pointing to the start and stop positions of each
  450.      individual column.  To define a column, move the cursor to the position at
  451.      which the column should begin, select the Column Define option, move to the
  452.      last position to be included in the column and press <Enter>.
  453.  
  454.      When defining columns using this method, remember that columns cannot
  455.      overlap.  If you wish to define a new column that overlaps an old column,
  456.      you must first delete the old column.
  457.  
  458.  
  459.      AUTOMATIC COLUMN DEFINITION
  460.  
  461.      You can automatically define columns by simply selecting a line in the file
  462.      for AutoImport to use as a pattern to establish column positions.  This
  463.      method disregards all previous column specifications and defines columns
  464.      for the entire length of the line used as a pattern.  To define columns
  465.      using this method, place the cursor on the line to be used as the pattern. 
  466.      Then select the Column Auto option.  The Input File will then be re-
  467.      displayed with the new column definitions.
  468.  
  469.      AutoImport can also be set to automatically define columns when an Input
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.      File is first displayed on the Mask Screen.  The columns are based on the
  485.      patterns in the first screen of data displayed.  If the resulting columns
  486.      are inappropriate (the complexities of some file structures may produce
  487.      undesirable column definitions), you may want to modify the default
  488.      definition.  The automatic column definition feature can be turned on by
  489.      selecting the Sign-on Screen's Settings Auto-columns option.
  490.  
  491.  
  492.      REMOVING COLUMNS
  493.  
  494.      All columns or a specific column can be removed from the mask.  To remove
  495.      all columns from the mask, select the Columns Undo All option.  To remove a
  496.      specific column, move the cursor into the column and then select the
  497.      Columns Undo One option.
  498.  
  499.  
  500.      RESEQUENCING COLUMNS
  501.  
  502.      When a mask is defined, AutoImport orders the columns according to the
  503.      sequence in which they are displayed on the screen.  Default column order
  504.      is A, B, C, D....  If this sequence does not put the information in the
  505.      most usable order, you can resequence the columns.  For example, you could
  506.      switch positions of column C and column A.  The new sequence would be C, B,
  507.      A, D....  This option might be useful when the Output File will be a
  508.      database file whose existing structure orders information differently from
  509.      the Input File.  Columns can also be skipped (e.g., A, D, E, K).  To
  510.      resequence a column, move the cursor into the column and select the Column
  511.      Sequence option.
  512.  
  513.  
  514.      SELECTING THE COLUMN'S CELL TYPES
  515.  
  516.      The cells or fields that comprise each of the lines within a column's range
  517.      can be defined as one of five types.  The type is selected from the Mask
  518.      Screen by placing the cursor anywhere in the defined column and selecting
  519.      Column Type, and then one of the types listed below.  The selection applies
  520.      to all cells or fields in a particular column, except for lines treated as
  521.      Titles or Headings.
  522.  
  523.      NUMERIC   This is the default type AutoImport gives to cells or fields. 
  524.                The program will attempt to treat all the data in a cell of this
  525.                type as numeric values.  (To specify attributes such as currency
  526.                symbol, decimal position, and thousands separator, select the
  527.                Sign-on Screen's Settings International option.) If AutoImport
  528.                cannot translate the cells as numeric values, it will translate
  529.                them as labels.
  530.  
  531.      LABEL     This type instructs AutoImport to translate the data in the cells
  532.                of a column as text characters.
  533.  
  534.      SIGNED-OVERPUNCH
  535.                This type instructs AutoImport to convert cells in the column
  536.                that contain signed overpunch numbers into numeric values.  All
  537.                other cells in the column for the selected lines are translated
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.                as labels.
  553.  
  554.      DATE      This type instructs AutoImport to translate the cells in the
  555.                column as dates.  The format of the date must be specified when
  556.                the type of column is defined.  Eight formats are supported.  If
  557.                the program cannot translate the cells as dates, it will attempt
  558.                to translate them as numeric values, then as labels. 
  559.  
  560.      TIME      This type instructs AutoImport to translate the cells in the
  561.                column as the time of day.  The time is translated to a decimal
  562.                number between 0 and 1.  0 indicates midnight, and .5 indicates
  563.                noon.  Spreadsheets will show this number as a time.  If the
  564.                program cannot translate the cells as times, it will attempt to
  565.                translate them as numeric values, then as labels.
  566.  
  567.      AutoImport interprets and recognizes the formatting used for decimal
  568.      separators, thousand separators, currency, dates, and signed overpunch
  569.      numbers.  How AutoImport interprets and recognizes these formats is
  570.      specified by selections made from the Sign-on Screen's Settings menu.
  571.  
  572.  
  573.      FILLING BLANK CELLS WITHIN A COLUMN
  574.  
  575.      Some Input Files do not repeat information in a column unless it changes. 
  576.      For example, in a listing of salespersons, the column indicating the region
  577.      in which the person works is included only for the first salesperson.  Only
  578.      when the region changes does the file list the new region.  To tell
  579.      AutoImport to fill all the blanks in the column with the most current
  580.      information, select the Column Blank Duplicate option.
  581.  
  582.  
  583.      ADDING INFORMATION FROM HEADINGS INTO COLUMNS
  584.  
  585.      Information from headings can be output as columns.  During translation,
  586.      each output line is "tagged" with the selected information from the
  587.      headings.  This information is called a Line Tag.
  588.  
  589.      You tell AutoImport where to find the Line Tag information by first
  590.      defining a match string that is used as a Reference Point, and then
  591.      defining the relative position of the Line Tag information to the Reference
  592.      Point.  The information in Line Tag columns is repeated on each output line
  593.      until the Line Tag information is refreshed, by encountering another line
  594.      that contains the Reference Point match string.  Columns defined by the use
  595.      of Line Tags precede the normally defined columns in the Output File.
  596.  
  597.      For example, if the Input File contains a date in the heading of each page,
  598.      the date can be inserted on every output line.  By defining a Reference
  599.      Point and then the date as a Line Tag, every time the program encounters
  600.      another occurrence of the Reference Point during translation, the next date
  601.      will be output as the Line Tag.
  602.  
  603.      To use information tags, first define the Reference Point match string,
  604.      then define the Line Tags associated with the Reference Point.  Up to five
  605.      Reference Point match strings can be defined.  When a Line Tag is defined,
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.      it is associated with the closest Reference Point occurring before the tag. 
  621.  
  622.  
  623.      All Line Tag column letters are assigned prior to those of the normally
  624.      defined columns.  Line Tags are assigned column letters sequentially, in
  625.      the order of their definition for each Reference Point.
  626.  
  627.      Options that can be selected for a normally defined column can also be
  628.      selected for a column defined by use of Line Tags.  This includes selecting
  629.      the Type, Name, and @Function.
  630.  
  631.      NOTE:   Because the sequencing of Line Tag columns is limited, it is often
  632.      useful to perform two translations with AutoImport when using Line Tags. 
  633.      The first translation should create a print image Output File using the
  634.      Files Output Type Text Prn option.  This print image file should then be
  635.      loaded into the Mask Screen as the Input File.  The Line Tag columns that
  636.      are added on the left side of the original file can then be sequenced as
  637.      any normal column using the Column Sequence option.
  638.  
  639.  
  640.      ASSIGNING DATABASE FIELD NAMES TO COLUMNS
  641.  
  642.      When creating a new database or mail merge Output File, the AutoImport
  643.      column names are used as the field names.  The column names initially
  644.      default to be the column letters.  The column names can be changed by
  645.      moving the cursor into the column, selecting the Column Name option, and
  646.      entering a new name.
  647.  
  648.      After the column name is entered, the column indicator bar above the Input
  649.      File display window will include the column letter and the column name. 
  650.      For example, if column B is named "CITY" the column indicator bar will
  651.      display "BCITY" above the column.
  652.  
  653.  
  654.      ADJUSTING COLUMN WIDTHS GLOBALLY
  655.  
  656.      To display a numeric value, spreadsheets require that the width of the
  657.      column is one position wider than the number to be displayed.  If the
  658.      column is the same width as the number, asterisks (*) will be displayed. 
  659.      To ensure that numeric values are properly displayed, the widths of all
  660.      columns in a file can be widened by one character when translated with the
  661.      Global Adjust-Widths option.  This feature is useful if the Input File does
  662.      not have spaces between the columns of data.
  663.  
  664.  
  665.      >> SELECTING LINES FOR OUTPUT <<
  666.  
  667.      Lines are the horizontal rows of data.  In the upper left hand corner, the
  668.      Mask Screen displays the line number on which the cursor rests.  Lines are
  669.      numbered sequentially from the beginning of the file.
  670.  
  671.      There are three ways to select lines for output.  The default Global Mode
  672.      Value setting can be used to output all lines.  A particular line treatment
  673.      can be manually specified on a line-by-line basis.  Or, lines containing a
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.      specified string of characters can be automatically output.
  689.  
  690.  
  691.      MANUALLY SELECTING LINES BY USING TREATMENTS
  692.  
  693.      A particular line treatment can be specified for each line in an Input
  694.      File.  The following line treatments select lines for output and specifies
  695.      how the information in the columns on the line will be translated:
  696.  
  697.      VALUE          The data within the columns on each Value Line is translated
  698.                     according to the column type.  On a color monitor, numeric
  699.                     data is displayed with a dark blue background, text with a
  700.                     magenta background, dates with a green background, and times
  701.                     with a brown background.
  702.  
  703.      HEADING        The data within the columns on each Heading Line is
  704.                     translated as text or labels (non-numeric).  On a color
  705.                     monitor, the data is displayed with a magenta background. 
  706.                     Notice that lines defined as heading include only data in
  707.                     defined column ranges, not data for the entire line.  To
  708.                     include the entire line, see the Title treatment below.
  709.  
  710.      TITLE          The entire line is translated as a single text string or
  711.                     label (non-numeric).  Column definitions are ignored.  On a
  712.                     color monitor, the entire line is displayed with a red
  713.                     background.
  714.  
  715.  
  716.      GLOBAL MODE VALUE
  717.  
  718.      When an Input File is loaded in the Mask Screen, all lines are selected to
  719.      be translated as Values.  In Global Mode Value, which is the default mode,
  720.      you can skip the lines, or exclude the lines you don't want included, based
  721.      on a string of characters.  AutoImport can also be used in Global Mode
  722.      Skip, in which no lines are initially selected and you indicate the lines
  723.      you want to include.
  724.  
  725.      In Global Mode Value, Include Lines have precedence over Exclude Lines. 
  726.      That is, if an include match string occurs in an Exclude Lines' range, the
  727.      Include Lines will be translated.  In Global Mode Skip, Exclude Lines have
  728.      precedence over Include Lines.
  729.  
  730.  
  731.      AUTOMATICALLY INCLUDING LINES WITH MATCH STRINGS
  732.  
  733.      AutoImport can be instructed to include all lines for translation that
  734.      contain a specified match string.  The match string can be a specific
  735.      string of characters, or a pattern string that contains wildcard
  736.      characters.  This feature (usually combined with Global Mode Skip), is
  737.      useful when selecting specific lines that all contain common information,
  738.      or a range of lines from the line containing the specified string of
  739.      characters.
  740.  
  741.      Lines included in this way are translated in the same way as Value Lines. 
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.      A line already treated as a Title or a Heading containing the specified
  757.      string is not affected by the use of the Include Line feature, they are
  758.      always output.
  759.  
  760.      To include lines, examine the lines that are to be selected, and identify a
  761.      string of characters or a pattern unique to these lines.  Position the
  762.      cursor on the first character of the string, select the Include Line
  763.      option, move the cursor to the right, until all the characters in the
  764.      string are highlighted, and press <Enter>.  The program will prompt with
  765.      Exact-match or Pattern-match.
  766.  
  767.      If Exact-match is selected, the program will then prompt with Positional or
  768.      Not-positional.  Select Positional if the lines should be included only
  769.      when the string is found at the current position in the line.  Select Not-
  770.      positional if the line should be included if the string is found at any
  771.      position in the line.
  772.  
  773.      If Pattern-match is selected, AutoImport displays the highlighted string
  774.      for editing.  The following wildcard characters are used to define the
  775.      characters allowed in each position.  All other characters in the pattern
  776.      match string require that character at that position.  Edit the string. 
  777.      Press <Enter>.
  778.  
  779.           ^ (caret)           Any number (0 through 9)
  780.           ! (exclamation)     Any character except 0 through 9
  781.           ~ (tilde)           Any character except blank
  782.           _ (underscore)      Any character including blank
  783.  
  784.      You are also prompted to specify how many lines, including the one in which
  785.      the cursor rests, are to be included in the translation.
  786.  
  787.      An "I" in the left margin of each line that contains the specified string
  788.      will indicate that the lines will be included in translation.
  789.  
  790.      You may manually confirm the Include Lines that are to be sent to the
  791.      Output File during translation.  To manually confirm Include Lines, select
  792.      the Translation Screen's Confirm option before running the translation. 
  793.      Each time an Include Line is encountered during the translation, the
  794.      program will pause and prompt for the line's inclusion.
  795.  
  796.  
  797.      UNDOING AN INCLUDE LINE SELECTION
  798.  
  799.      To undo an operation that has defined an Include Line, from the Mask
  800.      Screen, display the menu and select Include Undo.  Use the Next and
  801.      Previous options to display the Include Line strings currently defined. 
  802.      When the desired string is displayed, select the Stop-including-this-one
  803.      option.
  804.  
  805.  
  806.      INSERTING AND DELETING LINE TREATMENTS
  807.  
  808.      Once defined, a mask may be used numerous times to translate different
  809.      Input Files with the same structure.  This is frequently the case when
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.      reports are regularly issued from a host system using the same format; the
  825.      Input File you work with will be the same as the previous one, so you don't
  826.      have to create a new mask.  However, if the Input File changes slightly or
  827.      the segments of the Input File structure are altered, you can easily modify
  828.      the mask without extensive redefinition.
  829.  
  830.      For example, to extract the sales activities of stores in a specific region
  831.      from an alphabetical report that lists all stores, you can use a mask that
  832.      selects and skips stores based on the line position of the stores you want. 
  833.      When a new store is added to the report of all stores, and it is not in the
  834.      region in which you are interested, you can simply modify the existing mask
  835.      definition by inserting line treatments for the lines containing the sales
  836.      figures of the new store.  In the same way, you can delete line treatments
  837.      to match changes to the Input File.
  838.  
  839.  
  840.      RESTORING THE DEFAULT LINE TREATMENT
  841.  
  842.      To restore the setting for a range of lines to the default (global value or
  843.      skip) mode, position the cursor on the first line to be restored to the
  844.      default treatment and select the Line Mode-default option.  Then move the
  845.      cursor down to the last line whose treatment is to be restored to the
  846.      default treatment, and press <Enter>.
  847.  
  848.  
  849.      >> EXCLUDING LINES FROM OUTPUT <<
  850.  
  851.      There are four ways to exclude lines from output.  The default Global Mode
  852.      Skip setting can be used to exclude all lines.  A particular line treatment
  853.      can be manually specified on a line-by-line basis.  Lines containing a
  854.      specified string of characters can be automatically excluded.  Or, lines
  855.      can be excluded from translation that contain values in designated columns
  856.      that are lower or higher than specified limits.
  857.  
  858.  
  859.      MANUALLY EXCLUDING LINES BY USING TREATMENTS
  860.  
  861.      A particular line treatment can be specified for each line in an Input
  862.      File.  The following line treatments exclude lines from output:
  863.  
  864.      SKIP           The line is not sent to the Output File during translation. 
  865.                     The entire line is displayed with a black background.
  866.  
  867.      ABORT          This line signals AutoImport to halt translation of the
  868.                     Input File, and close the Output File.  This is useful when
  869.                     you know that you only want the first part of a long file.
  870.  
  871.  
  872.      AUTOMATICALLY EXCLUDING LINES WITH MATCH STRINGS
  873.  
  874.      AutoImport can be instructed to exclude all lines from translation that
  875.      contain a specified match string.  The match string can be a specific
  876.      string of characters, or a pattern string that contains wildcard
  877.      characters.  This feature (usually combined with Global Mode Value), is
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.      useful when excluding specific lines that all contain common information,
  893.      or a range of lines from the line containing the specified string of
  894.      characters.  This feature can also be used to exclude recurring page titles
  895.      and headers from translation into the Output File.
  896.  
  897.      Lines excluded in this way are treated in the same way as Skip Lines.  A
  898.      line already treated as a Title or a Heading containing the specified
  899.      string is not excluded by the use of the Exclude Line feature.  This
  900.      permits sending a single occurrence (i.e.  the first) of the lines
  901.      containing the specified string to the Output File, while skipping all
  902.      other occurrences.
  903.  
  904.      To exclude lines, examine the lines that are to be ignored, and identify a
  905.      string of characters or a pattern unique to these lines.  Position the
  906.      cursor on the first character of the string, select the Exclude Line
  907.      option, move the cursor to the right, until all the characters in the
  908.      string are highlighted, and press <Enter>.  The program will prompt with
  909.      Exact-match or Pattern-match.
  910.  
  911.      If Exact-match is selected, the program will then prompt with Positional or
  912.      Not-positional.  Select Positional if the lines should be excluded only
  913.      when the string is found at the current position in the line.  Select Not-
  914.      positional if the line should be excluded if the string is found at any
  915.      position in the line.
  916.  
  917.      If Pattern-match is selected, AutoImport displays the highlighted string
  918.      for editing.  The following wildcard characters are used to define the
  919.      characters allowed in each position.  All other characters in the pattern
  920.      match string require that character at that position.  Edit the string. 
  921.      Press <Enter>.
  922.  
  923.           ^ (caret)           Any number (0 through 9)
  924.           ! (exclamation)     Any character except 0 through 9
  925.           ~ (tilde)           Any character except blank
  926.           _ (underscore)      Any character including blank
  927.  
  928.      You are also prompted to specify how many lines, including the one in which
  929.      the cursor rests, are to be excluded in the translation.
  930.  
  931.      The file will be re-displayed with the lines to be excluded marked with an
  932.      "E" on the left side of the screen.
  933.  
  934.      You may manually confirm the Exclude Lines that are to be ignored during
  935.      translation.  To manually confirm Exclude Lines, select the Translation
  936.      Screen's Confirm option before running the translation.  Each time an
  937.      Exclude Line is encountered during the translation, the program will pause
  938.      and prompt for the line's exclusion.
  939.  
  940.  
  941.      UNDOING AN EXCLUDE LINE SELECTION
  942.  
  943.      To undo an operation that has defined an Exclude Line, from the Mask
  944.      Screen, select the Exclude Undo Line option.  Use the Next and Previous
  945.      options to display the Exclude Line strings currently defined.  When the
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.      desired string is displayed, select the Stop-excluding-this-one option.
  961.  
  962.  
  963.      AUTOMATICALLY EXCLUDING LINES BY SETTING LIMITS IN COLUMNS
  964.  
  965.      Lines can be excluded from translation that contain values in designated
  966.      columns that are lower or higher than specified limits.  After a column is
  967.      defined, limits are set by selecting the Column Limits option and entering
  968.      either an upper limit, a lower limit, or both.  How AutoImport prompts for
  969.      limits is dependent on the column type; numeric, label, date, or time.
  970.  
  971.      Lines with values in the column that are higher or lower than the limits
  972.      are displayed with a black background.  An uppercase "E" also appears in
  973.      the left margin to indicate that the line is Excluded.
  974.  
  975.      A line is tested for limits only if the line treatment is Global Mode Value
  976.      as indicated by a lowercase "v" in the left margin, or if the line is
  977.      Included as indicated by an either an uppercase "I" or a lowercase "i" in
  978.      the left margin.
  979.  
  980.      If the column type is changed, the limits for the column are eliminated. 
  981.      To eliminate or undo the test for limits in a column, delete the limits
  982.      entered in the column by selecting the Column Limits option and using the
  983.      <Delete> key to blank out the limits.
  984.  
  985.  
  986.      EXCLUDING BLANK LINES
  987.  
  988.      To remove all blank lines in an Input File, select the Exclude Blank-lines
  989.      option.  The current selection is indicated as either Yes or No (default). 
  990.      Select Yes to exclude blank lines, No to include blank lines.
  991.  
  992.  
  993.      EXCLUDING DUPLICATE LINES
  994.  
  995.      Excludes the output of a line that is exactly the same as the preceding
  996.      line.  Some programs print a line, perform a carriage return without a line
  997.      feed, and print the line again.  This results in "bold" print that is used
  998.      for emphasizing titles and headings on reports.  The Exclude Duplicate-
  999.      lines option removes the second line of print from this style of report.
  1000.  
  1001.  
  1002.  
  1003.      >> ADDING FORMULAS TO THE OUTPUT <<
  1004.  
  1005.      AutoImport can include rows of formulas in spreadsheet Output File types. 
  1006.      These formula rows can either replace existing rows in the Input File, or
  1007.      they can be additional rows that are output.  Formula rows can be selected
  1008.      for output either when the information in a specific column changes, or a
  1009.      character string is matched.
  1010.  
  1011.      The default formulas that are output are the @Sum function for numeric
  1012.      columns, @Count function for label columns, and no formulas for date
  1013.      columns or time columns.  Available functions for formulas are Sum, Count
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.      and Average.  To change the type of @function that is output in a column,
  1029.      use the Column @Function option.
  1030.  
  1031.      An "@" symbol is displayed on the top left edge of the column indicator bar
  1032.      whenever an @Formula option is selected.
  1033.  
  1034.  
  1035.      INSERTING FORMULA ROWS BASED ON A COLUMN CHANGE
  1036.  
  1037.      Formula cells can be inserted into the output each time the character
  1038.      contents of a non-blank cell in a specified column changes.  The column to
  1039.      be tested for a change in contents can be a normally defined column or a
  1040.      Line Tag column.
  1041.  
  1042.      This option is useful when the Input File is a list of records in a sorted
  1043.      order without subtotals.  By selecting the @Formula Column-change option
  1044.      and specifying the column to test for a change in contents, AutoImport
  1045.      inserts a row of Formula cells in the output spreadsheet.
  1046.  
  1047.      A dashed line is output before, and a blank line is output after, the
  1048.      formula line.  This formatting makes it easy to determine where AutoImport
  1049.      has inserted formulas.
  1050.  
  1051.  
  1052.      INSERTING FORMULA ROWS USING A MATCH STRING
  1053.  
  1054.      A row of formula cells can be inserted into the output each time a
  1055.      specified match string is encountered during translation.  The match string
  1056.      can be defined to require an exact match, or a pattern match using wildcard
  1057.      characters.
  1058.  
  1059.      This option is useful when a report has groups of information without
  1060.      subtotals that is either on different pages, or is separated by headings. 
  1061.      AutoImport can be instructed to insert formula cells in rows before each
  1062.      new page or heading.
  1063.  
  1064.      To insert formulas based on a match string, move the cursor to the first
  1065.      position in the string, select @Formula Insert-on-match, highlight the
  1066.      remainder of the string and press <Enter>.  If the match string is always
  1067.      the same character sequence, select Exact-match, and then select either
  1068.      Positional or Not-positional.  To define a pattern of characters, select
  1069.      Pattern-match, edit the string by including the appropriate wildcard
  1070.      characters and press <Enter>.
  1071.  
  1072.  
  1073.      REPLACING LINES WITH FORMULA ROWS
  1074.  
  1075.      A row of formula cells can replace the cell contents of an output line each
  1076.      time a specified match string is encountered during translation.  The match
  1077.      string can be defined to require an exact match, or allow for a pattern
  1078.      match using wildcard characters.
  1079.  
  1080.      Many reports already contain totals.  The @Formula Replace-on-match option
  1081.      can be used to replace the literal totals with the formulas for the totals. 
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.      This facilitates "what if" analysis in spreadsheets by showing the new
  1097.      total after a change is made to a detail line.
  1098.  
  1099.  
  1100.      >> CONTROLLING PLACEMENT IN THE OUTPUT FILE <<
  1101.  
  1102.      There are several options that provide for specific placement of
  1103.      information in an Output File.  The sequence in which columns are output
  1104.      can be controlled with the Column Sequence option.  The Files Output
  1105.      Existing-output options of Replace, Append, and File-combine control how
  1106.      AutoImport handles data in existing Output Files during translation.
  1107.  
  1108.      In addition, the starting cell for output into spreadsheets, and the row
  1109.      and column orientation (rotation of line/column aspects) of the Output File
  1110.      can be controlled.
  1111.  
  1112.  
  1113.      CHANGING THE SPREADSHEET'S STARTING CELL
  1114.  
  1115.      By default, AutoImport uses cell address A1 (first column, first row) as
  1116.      the starting position for output into a spreadsheet.  By changing this
  1117.      starting position you can offset the first cell address used for output. 
  1118.      For example, if the existing spreadsheet includes four columns (A, B, C,
  1119.      and D), you can offset the starting cell to define the three columns in the
  1120.      Input File to be output as columns E, F, and G in the existing Output File.
  1121.  
  1122.      To reposition the starting cell, select the Global Starting-cell option. 
  1123.      Changing the starting cell from A1 to B1 would redefine columns A and B to
  1124.      B and C.  Likewise, changing the starting cell from A1 to A30 would start
  1125.      placement in the output spreadsheet at row 30.
  1126.  
  1127.      This is useful for translation of a file whose output will be combined with
  1128.      the information in an existing spreadsheet.  When file combining,
  1129.      information in the rows and columns of an existing spreadsheet that occur
  1130.      before the starting cell are not changed during translation.
  1131.  
  1132.  
  1133.      TRANSPOSING COLUMNS AND LINES
  1134.  
  1135.      For output used with a spreadsheet, AutoImport can transpose columns and
  1136.      lines.  That is, data displayed as columns in the Mask Screen will be
  1137.      output as lines, and vice versa.  If this option is selected, column widths
  1138.      defined in the mask are not used during translation.  Data appended to or
  1139.      combined with an existing spreadsheet file will be in the columns already
  1140.      defined.  An Output File opened as a new worksheet will be displayed using
  1141.      the spreadsheet program's default column width.
  1142.  
  1143.  
  1144.      >> REMOVING PRINTER CONTROL CODES <<
  1145.  
  1146.      If the Input File is a report downloaded from another computer, or output
  1147.      from another PC program, the Input File may contain printer control codes
  1148.      (ASCII characters 0 through 31).  These codes are typically used by
  1149.      printers for controlling line spacing, condensed print, emphasized print
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.      and other features that control how text is printed.  When the Input File
  1165.      is displayed on the Mask Screen, the control codes usually interfere with
  1166.      the display of the file causing misalignment of the columns of numbers.
  1167.  
  1168.      AutoImport can remove printer control codes that are single characters,
  1169.      escape sequences, page ejects, and line printer carriage control columns. 
  1170.      After the control codes are removed, the Input File is redisplayed on the
  1171.      Mask Screen without the control characters.
  1172.  
  1173.  
  1174.      SEARCHING FOR PRINTER CONTROL CODES
  1175.  
  1176.      Control codes, the ASCII values 0-31, are generally used for printer
  1177.      formatting and communications control.  AutoImport will display these codes
  1178.      as graphics characters, ASCII 200-231.  To find occurrences of control
  1179.      codes, select the Search Control-codes option.  To display the first
  1180.      occurrence of any of the control codes, select First.  To find the next
  1181.      occurrence, select Next.
  1182.  
  1183.  
  1184.      EXCLUDING ALL SINGLE CHARACTER PRINTER CONTROL CODES
  1185.  
  1186.      All single character control codes can be removed with the Exclude Special-
  1187.      characters option.  This option removes all ASCII characters with codes of
  1188.      0 through 31 except for the escape character (ASCII 27).
  1189.  
  1190.  
  1191.      EXCLUDING ESCAPE SEQUENCES
  1192.  
  1193.      Escape sequences are a string of two or more characters beginning with the
  1194.      escape character (ASCII 27) that provide control instructions to a printer. 
  1195.      To remove an escape sequence, or any other string of characters, move the
  1196.      cursor to the first character of the string to be ignored.  Select the
  1197.      Exclude Characters option.  Then, move the cursor to the right,
  1198.      highlighting the desired characters and press <Enter>.  AutoImport will
  1199.      prompt for an optional replacement string.  If the highlighted string is
  1200.      simply to be ignored, do not provide a replacement string.
  1201.  
  1202.  
  1203.      FIRST POSITION CARRIAGE CONTROL
  1204.  
  1205.      Carriage control characters are another type of printer control that is
  1206.      included in reports created by some programming languages on certain
  1207.      computers.  FORTRAN, for example, uses the first column of each line to
  1208.      indicate line feeds and form feeds to the printer.
  1209.  
  1210.      To ignore the carriage control character, select the Exclude First-
  1211.      positions option.  The current setting of the number of positions to skip
  1212.      at the beginning of each line is displayed.  Type in the number of
  1213.      character positions to ignore.  The file will then be re-displayed with
  1214.      these positions removed.
  1215.  
  1216.  
  1217.      >> Shortcut Function Key Operations <<
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.      The function keys labelled F1 to F10 are used for frequently-performed
  1233.      operations and menu selections while at the Mask Screen.  Using these
  1234.      "shortcut" keys saves time in defining a mask.
  1235.  
  1236.      Pressing the following function keys at the Mask Screen while in the Ready
  1237.      mode performs the described operations.
  1238.  
  1239.      F1   Displays the Help screen.
  1240.  
  1241.      F2   The same as pressing  / Column Define.
  1242.  
  1243.      F3   Prompts for a line number at which to begin display of the mask       
  1244.           and the Input File.
  1245.  
  1246.      F4   The same as pressing / Column Undo One.
  1247.  
  1248.      F5   The same as pressing / Line Skip.
  1249.  
  1250.      F6   The same as pressing / Line Heading.
  1251.  
  1252.      F7   The same as pressing / Line Value.
  1253.  
  1254.      F8   The same as pressing / Line Title.
  1255.  
  1256.      F9   The same as pressing / Search First.
  1257.  
  1258.      F10  The same as pressing / Search Next.
  1259.  
  1260.  
  1261.      >> LISTING MASK SETTINGS AND SELECTIONS <<
  1262.  
  1263.      AutoImport allows you to print the settings defined in your mask.  The
  1264.      printed list of settings can be very helpful when trying to determine why
  1265.      the results of a translation are not as expected.  The list is also useful
  1266.      for documenting the settings, in case the Mask File is lost or damaged. 
  1267.      These settings include the file names, global mode, Include Lines, Exclude
  1268.      Lines, column types, Reference Points, and Line Tags.
  1269.  
  1270.      The settings will be listed to the currently-selected printer.  Printer
  1271.      selection can be changed from the Sign-on Screen's Settings Printer option.
  1272.  
  1273.      The first line of the report indicates the date and time that the report
  1274.      was printed.  The next section gives information about the Mask File, Input
  1275.      File, and Output File.  The Settings section reports the global mode,
  1276.      whether blank lines or form feeds are excluded, the starting cell, and
  1277.      other significant definitions of the mask.
  1278.  
  1279.      The next section reports the number of columns in the mask.  It also
  1280.      provides the column letter, starting position, width, type, name, and
  1281.      whether the non-blank information should be duplicated into blank cells.
  1282.  
  1283.      If any Include Strings or Exclude Strings are defined, the report lists the
  1284.      type and the number of each defined.  Also shown are the number of lines to
  1285.      be included or excluded when the string is encountered at the defined
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.      position.
  1301.  
  1302.      If any Exclude Characters are defined, the report lists the string and the
  1303.      ASCII code for each of the characters.  The ASCII code is a number between
  1304.      0 and 255 decimal.
  1305.  
  1306.      The final item reported is whether any Reference Points have been declared,
  1307.      the Reference Point strings, and any Line Tags defined.  The column letter,
  1308.      position, and type for each tag are displayed.
  1309.  
  1310.      Because as many as 16384 line treatments can be defined, line treatments
  1311.      are not reported.  These can be viewed only from the Mask Screen.
  1312.  
  1313.  
  1314.  
  1315.      SETTING HOW AUTOIMPORT RECOGNIZES NUMBERS AND DATES ----------------------
  1316.  
  1317.      AutoImport recognizes many of the methods used to express numbers and dates
  1318.      in the United States and in many other countries.
  1319.  
  1320.  
  1321.      >> RECOGNIZING NUMBERS <<
  1322.  
  1323.      AutoImport understands how numbers are represented on reports and
  1324.      translates them correctly into the Output File.  It understands that
  1325.      negative numbers can be represented several ways, either with a minus sign
  1326.      before or after the number, or with a CR or DR next to the number (credits
  1327.      and debits).  AutoImport can also be instructed to recognize numbers that
  1328.      use a signed overpunch scheme for representing positive and negative
  1329.      values.
  1330.  
  1331.      It understands that a percent sign indicates the number should be divided
  1332.      by 100.  It even handles subtotals that are marked with asterisks. 
  1333.      AutoImport can also translate numbers that are expressed in scientific
  1334.      notation.
  1335.  
  1336.      Computer systems in the U.S. use the dollar sign ($) to express currency, a
  1337.      period (.) to indicate the decimal point, and a comma (,) as the thousands
  1338.      separator.  AutoImport can be instructed to use other symbols for
  1339.      recognizing currency, thousands and decimals, as explained below.
  1340.  
  1341.  
  1342.      CURRENCY SYMBOL
  1343.  
  1344.      To change the character recognized as the currency symbol, select the Sign-
  1345.      on Screen's Settings International Currency option.  If the symbol can be
  1346.      typed directly from the keyboard, select Key and press the appropriate key. 
  1347.      The current setting for the currency symbol is displayed.
  1348.  
  1349.      If the symbol you wish to use is not on your keyboard, select ASCII-code
  1350.      and enter the ASCII value for the symbol (e.g.  British Pound Sterling:
  1351.      156, Japanese Yen: 157).  To check your entry select the Settings
  1352.      International Currency Key option, and look at the symbol that is
  1353.      displayed.
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.      THOUSANDS SEPARATOR SYMBOL
  1370.  
  1371.      The symbol for separating thousands in the U.S. is the comma; also used in
  1372.      other countries are the period and the space.  To select one of these three
  1373.      symbols, select the Sign-on Screen's Settings International Thousands
  1374.      option.  The current setting for the thousands separator is displayed. 
  1375.      Move the cursor to the symbol you wish to use and press <Enter>.
  1376.  
  1377.  
  1378.      DECIMAL POINT SYMBOL
  1379.  
  1380.      The symbol for separating the fractional or decimal part of a number from
  1381.      the integer portion of a number can be defined as either the period or the
  1382.      comma.  To select one of these two symbols, select the Sign-on Screen's
  1383.      Settings International Point option.  The current setting is displayed. 
  1384.      Move the cursor to the desired symbol and press <Enter>.
  1385.  
  1386.  
  1387.      SIGNED OVERPUNCH TECHNIQUE
  1388.  
  1389.      By assigning special characters to either the first or last digit of a
  1390.      number, a program can indicate whether a number is positive or negative. 
  1391.      This helps conserve file space; rather than outputing the minus sign, it is
  1392.      "coded" into the number as a signed overpunch technique.
  1393.  
  1394.      To specify the characters used to indicate the sign of the number, select
  1395.      the Sign-on Screen's Settings Signed-overpunch Characters option. 
  1396.      AutoImport provides three options for designating the characters that are
  1397.      used to indicate that a number is positive or negative:
  1398.  
  1399.          0 - 9 as positive, } - R as negative
  1400.  
  1401.          { - I as positive, } - R as negative
  1402.  
  1403.          Custom (user-defined)
  1404.  
  1405.      One of the first two options translates the majority of Input Files using
  1406.      signed overpunch correctly.  Selecting the Custom option displays all 20
  1407.      possible digits and the current character assignment.  To create a custom
  1408.      format, change the characters to match those used in the Input File and
  1409.      save this setting by pressing <F10>.
  1410.  
  1411.      AutoImport can use either the leading (first position) or trailing (last
  1412.      position) digit of a number as the signed overpunch.  To check or change
  1413.      the setting, select the Sign-on Screen's Settings Signed-overpunch Position
  1414.      option.  The default is the trailing position.
  1415.  
  1416.  
  1417.      >> RECOGNIZING DATES <<
  1418.  
  1419.      By default, AutoImport recognizes dates which contain characters that
  1420.      separate the month, day and year portions of the date.  For dates which
  1421.      contain no separator characters, a user-defined format can be defined that
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.      specifies the positions in a string that contain the month, day and year.
  1437.  
  1438.      For dates that contain two digits for the year, the cutoff date that
  1439.      divides 19xx from 20xx can be defined.  The spellings of the month names
  1440.      can also be defined for working with files from countries that do not use
  1441.      the English spellings.
  1442.  
  1443.  
  1444.      RECOGNIZING DATES WITHOUT SEPARATORS
  1445.  
  1446.      AutoImport recognizes 7 standard date formats, and 1 custom format defined
  1447.      by the user.  The standard formats assume that the month, day, and year are
  1448.      separated by a space or a separator character ( / - : , etc.).  The custom
  1449.      format is used when there are no separators.
  1450.  
  1451.      To define the custom date format, select the Sign-on Screen's Settings Date
  1452.      Custom option.  Type in the format string using the letters D, M and Y as
  1453.      positional indicators for the day, month and year.
  1454.  
  1455.  
  1456.      YEAR FORMATS
  1457.  
  1458.      Most dates that represent years with two digits assume that the year is
  1459.      19xx (or the twentieth century).  However, in some files such as a
  1460.      worksheet set up to calculate maturity dates of bonds, the date 11/25/55
  1461.      could mean 1955 or 2055.  To define the two digit year that is the cutoff
  1462.      between 19xx and 20xx, select the Sign-on Screen's Settings Date Year
  1463.      option.
  1464.  
  1465.  
  1466.      MONTH NAME SPELLINGS
  1467.  
  1468.      AutoImport recognizes the standard U.S. spellings of the names of the
  1469.      months, but it can also be instructed to recognize different spellings,
  1470.      such as the German spelling of October as "Oktober".  To specify the
  1471.      spellings of the month names, select the Sign-on Screen's Settings
  1472.      International Month-names option.
  1473.  
  1474.  
  1475.  
  1476.      TRANSLATING FILES --------------------------------------------------------
  1477.  
  1478.      Translation of data from the Input File to the Output File is initiated and
  1479.      controlled from the Translation Screen.  To display the Translation Screen,
  1480.      select the Sign-on Screen's Translate option.
  1481.  
  1482.      Before an Input File can be translated, a mask must have been defined and
  1483.      saved as a file.  Information about the Input File and the Output File to
  1484.      be created by the translation process can be specified from either the Mask
  1485.      Screen or the Translation Screen.
  1486.  
  1487.      Translations can also be initiated from the DOS prompt using a command line
  1488.      or as part of a .BAT file.
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.      >> Selecting the Mask Used for Translation <<
  1505.  
  1506.      When the Translation Screen is initially displayed, the last mask that was
  1507.      either saved on the Mask Screen or used in a translation is automatically
  1508.      selected.  Information about the mask is displayed on the screen.
  1509.  
  1510.      To use another mask for translation, select the Mask Retrieve option.  Then
  1511.      select either List to point to the Mask File, or Type-in to manually enter
  1512.      the file name.  To change the currently selected directory for masks,
  1513.      select the Mask Directory option.
  1514.  
  1515.  
  1516.      >> CHANGING MASK SETTINGS ON THE TRANSLATION SCREEN
  1517.  
  1518.      Several of the Mask Screen's settings can be temporarily or permanently
  1519.      overridden by options selected from the Translation Screen.  The Input
  1520.      File, Output File, translation type, and the handling of existing output
  1521.      files can be changed.  When settings are changed for these options, they
  1522.      are displayed on the Translation Screen.
  1523.  
  1524.      The changes are used only for this translation unless the mask is saved. 
  1525.      Saving the mask permanently changes the settings in the Mask File.  To save
  1526.      the mask from the Translation Screen, select the Mask Save option.
  1527.  
  1528.  
  1529.      >> DISPLAYING THE FILE DURING TRANSLATION <<
  1530.  
  1531.      Translation can be performed with or without displaying the Input File.  To
  1532.      specify your choice, at the Translation Screen, select Display.  The
  1533.      current selection is indicated as either Yes or No.  Select Yes to display
  1534.      the Input File during translation or No to inhibit display during
  1535.      translation.
  1536.  
  1537.  
  1538.      >> CONFIRMING INCLUDE/EXCLUDE LINES DURING TRANSLATION <<
  1539.  
  1540.      During translation, Include Line and Exclude Line selections may be
  1541.      manually confirmed on a line-by-line basis.  To specify manual
  1542.      confirmation, at the Translation Screen, select Confirm.  The current
  1543.      setting is indicated as either Yes or No.  Select Yes to permit
  1544.      confirmation of all Include and Exclude Lines during the translation
  1545.      process.  This must be done each time before translation; the mask does not
  1546.      save the confirm selection.  Selecting confirmation also sets the Display
  1547.      of the file during the translation to Yes.
  1548.  
  1549.  
  1550.      >> PERFORMING THE TRANSLATION <<
  1551.  
  1552.      After the proper Mask File is selected and the other information on the
  1553.      screen is correct, select the Go option to start the translation.  If a
  1554.      file already exists that has the same name as the Output File and Existing-
  1555.      output Warning is selected (the default selection), AutoImport prompts for
  1556.      Cancel, Replace, Append or File-combine.
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.      If the Display option is set to Yes, the Progress Screen is displayed. 
  1573.      This screen displays the selected lines of the Input File as they are being
  1574.      translated.
  1575.  
  1576.  
  1577.  
  1578.      SPECIAL CONSIDERATIONS FOR TRANSLATING DATABASE FILES --------------------
  1579.  
  1580.      Database files contain a database structure that provides information used
  1581.      by the database program to locate, store, and organize the data.  The
  1582.      structure contains information such as field names, field lengths, and
  1583.      field types.  This information is written to the database file when it is
  1584.      created.
  1585.  
  1586.      If the database file exists, AutoImport uses the current database
  1587.      structure.  If the file does not exist, AutoImport automatically creates a
  1588.      structure.  It is recommended that the database management system is used
  1589.      to create the Output File with the desired database structure.
  1590.  
  1591.  
  1592.      >> RELATIONSHIP BETWEEN COLUMNS AND FIELDS <<
  1593.  
  1594.      A field serves much the same function in a database that a column does in a
  1595.      worksheet.  The information in a defined column will be sent to the
  1596.      corresponding field in the database file.  For example, information in
  1597.      column A will go to the first field, column B's data will go to the second,
  1598.      etc.
  1599.  
  1600.  
  1601.      >> DISPLAYING THE DATABASE STRUCTURE <<
  1602.  
  1603.      AutoImport offers two ways of displaying the structure of an existing
  1604.      database file.  Both methods show field name, length, type, and the column
  1605.      letter that corresponds to the field in the mask.
  1606.  
  1607.      For a screen display of the structure select the Mask Screen's Files Output
  1608.      Type Database option and specify the type of database file.  Then, select
  1609.      Files Output Database-Structure.  The database structure of the Output File
  1610.      will be displayed along with the column settings defined in the mask.
  1611.  
  1612.      To output the structure to a file, from the Utilities Screen, select the
  1613.      Function Header option, and the database file as the Input File.  Select Go
  1614.      and the database structure (header) will be written to a file.  This file
  1615.      can be displayed on the screen or printed.
  1616.  
  1617.  
  1618.      >> TRANSLATION WHEN A DATABASE STRUCTURE EXISTS <<
  1619.  
  1620.      CAUTION: If there are any indexes associated with a database, they must be
  1621.      re-indexed following a translation to the database file.  AutoImport does
  1622.      not update indexes when it performs a database translation.
  1623.  
  1624.      AutoImport retains all characteristics of a database structure during a
  1625.      translation.  If more columns have been defined than existing fields in the
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.      database, the information in the columns not associated with a field is not
  1641.      output.  If fewer columns have been defined than fields in the database,
  1642.      some fields will remain blank.
  1643.  
  1644.      When instructed to perform a translation into a database file, AutoImport
  1645.      verifies that the Output File exists.  If the file exists, you can specify
  1646.      that AutoImport either appends to the file by keeping the current records
  1647.      and adding new records, or completely replaces the records already in the
  1648.      file.
  1649.  
  1650.  
  1651.      >> TRANSLATION WHEN A DATABASE STRUCTURE DOES NOT EXIST <<
  1652.  
  1653.      If the structure does not exist when a file is translated to a database
  1654.      Output File type, AutoImport creates the database structure by setting the
  1655.      field names, field length and field type to that defined in the mask.
  1656.  
  1657.      The database field names that are written to the structure are the Mask's
  1658.      column names.  The column names initially default to the column letters
  1659.      (i.e., A, B, C, D,...).  The names of the columns (data fields) can be
  1660.      changed to any valid field name (i.e., NAME, ADDRESS, etc.) by selecting
  1661.      the Mask Screen's Column Name option.
  1662.  
  1663.      NOTE:  If the mask is later redefined to include more or fewer columns
  1664.      (perhaps results of the translation were not as desired), delete the
  1665.      database file and associated structure created by AutoImport with the DOS
  1666.      DELETE or ERASE commands.
  1667.  
  1668.  
  1669.      >> CREATING RECORDS FROM REPORT FILES <<
  1670.  
  1671.      Some reports do not include information on every line for the lines to be
  1672.      used as individual database records.  Some reports contain information in a
  1673.      heading at the top of the page that needs to be included on each line. 
  1674.      Columns containing this information can be added using the Mask Screen's
  1675.      Line Tag feature.
  1676.  
  1677.      Some reports leave a column blank on a line if it would contain the same
  1678.      information as that for the preceding line.  Information from previous
  1679.      lines can be duplicated into the blank cells on each line selecting the
  1680.      Mask Screen's Column Blank Duplicate option.
  1681.  
  1682.  
  1683.      --------------------------------------------------------------------------
  1684.      --------------------------------------------------------------------------
  1685.      --------------------------------------------------------------------------
  1686.  
  1687.                             COMMAND LINE USE REFERENCE
  1688.  
  1689.  
  1690.      The Translation, Utilities, and Printer Interceptor functions can be
  1691.      performed using a DOS command line.  The command line can be executed from
  1692.      the DOS prompt, included in a .BAT file, or incorporated into a software
  1693.      management system as one of its menu items.  Using command lines makes it
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.      easy to perform repetitive tasks automatically.
  1709.  
  1710.  
  1711.      >> TRANSLATION COMMAND LINE <<
  1712.  
  1713.      Once a Mask has been defined and saved to disk, the translation can be
  1714.      performed from a DOS command line.
  1715.  
  1716.      Syntax:
  1717.  
  1718.         AI mask[,[input],[output],[type],[display],[run],[confirm]] [/A] [/C]
  1719.  
  1720.      The command line parameters that follow the AI command are positional and
  1721.      separated by commas.  If a parameter is skipped, a comma must be used to
  1722.      hold its place.  The switches, /A and /C, are not positional and are not
  1723.      separated by commas.
  1724.  
  1725.      mask      Mask File name, including the path if necessary.  This is the
  1726.                only required parameter.  If no other parameters are specified,
  1727.                the parameters specified when the mask was created (or last
  1728.                saved) will be used in the translation.
  1729.  
  1730.      input     Input File name, including the path and extension if necessary.
  1731.  
  1732.      output    Output File name, including the path if necessary.  If an
  1733.                extension is specified, it will be used rather than the file
  1734.                extension AutoImport normally uses that is based on the type of
  1735.                translation.
  1736.  
  1737.      type      Type of translation to be performed.  Any of the following types
  1738.                can be specified:
  1739.  
  1740.                WKS   Lotus 1-2-3 release 1 and 1A
  1741.                WK1   Lotus 1-2-3 release 2.x
  1742.                WK3   Lotus 1-2-3 release 3.x
  1743.                WRK   Symphony release 1.0
  1744.                WR1   Symphony release 1.1, 1.2 and 2.x
  1745.                WKQ   Borland Quattro
  1746.                WQ1   Borland Quattro Pro
  1747.                XLS   Microsoft Excel
  1748.                DBF   dBase III
  1749.                DBF2  dBase II
  1750.                DBF3  dBase III
  1751.                DBF4  dBase IV
  1752.                DAT   Clarion
  1753.                DIF   Columnwise DIF
  1754.                CDIF  Columnwise DIF
  1755.                RDIF  Rowwise DIF
  1756.                SLK   SYLK or Symbolic Link
  1757.                PRN   Print Image
  1758.                ASC   Comma separated with quotes around strings
  1759.                CSV   Comma Separated Variable
  1760.                SDF   Standard Data Format
  1761.                FXD   Fixed record format without delimiters
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.                TSV   Tab separated variables
  1777.                TXT   ASCII text file
  1778.                LBL   Mailing label format
  1779.                WRD   Microsoft Word data document
  1780.                W50   Word Perfect 5.0 secondary merge file
  1781.                W51   Word Perfect 5.1 secondary merge file
  1782.  
  1783.      display   Specifies whether the output is to be displayed on screen during
  1784.                translation: Y for yes, N for no.  The default is Yes.
  1785.  
  1786.      program   Launches another program immediately following completion of the
  1787.                translation.  This is useful, for example, if after performing a
  1788.                translation to a spreadsheet file, the .WKS file will be opened
  1789.                with Lotus 1-2-3.
  1790.  
  1791.      confirm   Specifies whether Include Line and Exclude Line treatments must
  1792.                be confirmed manually during the translation.  Y for yes, N for
  1793.                no.  The default is No.
  1794.  
  1795.      /A        Appends the output of the translation to the end of an existing
  1796.                Output File.
  1797.  
  1798.      /C        File-combines the output of the translation into an existing
  1799.                spreadsheet Output File beginning at the starting cell declared
  1800.                during mask definition.
  1801.  
  1802.      The only required parameter is the Mask File name.  If no other parameters
  1803.      are specified, the parameters defined when the mask was created or last
  1804.      saved are used.
  1805.  
  1806.      To specify some parameters and not others, include the intervening commas
  1807.      as place holders.  This is necessary to indicate to AutoImport which of the
  1808.      options you want to use.  For example, if you want to use the name of the
  1809.      Input File stored with the mask, but want to change the name of the Output
  1810.      File, you would place two commas before the name of the new Output File. 
  1811.      Otherwise, AutoImport would interpret the file name as that of an Input
  1812.      File.  Commas, however, are unnecessary as place holders before the /A and
  1813.      /C parameters.
  1814.  
  1815.      If a parameter is not specified on the command line and the parameter has
  1816.      not been specified in the mask, the translation cannot proceed.  In such
  1817.      cases when AutoImport aborts the translation, a message is displayed on the
  1818.      screen to indicate the missing or invalid parameter(s).
  1819.  
  1820.      The following four examples illustrate the ways translations can be
  1821.      initiated using a command line.
  1822.  
  1823.  
  1824.      TRANSLATION COMMAND LINE EXAMPLE 1
  1825.  
  1826.      To perform a translation from the command line using the following
  1827.      parameters:
  1828.  
  1829.         Mask File name           MYMASK
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.         Input File name          AIDEMO.TXT
  1845.         Output File name         SALESDAT
  1846.         Translation type         WKS
  1847.         Display on               Y (Yes)
  1848.         Program to run           LOTUS
  1849.         Confirm include/exclude  Y (Yes)
  1850.         Append to existing file  /A
  1851.  
  1852.      The command line should read:
  1853.  
  1854.         AI MYMASK,AIDEMO.TXT,SALESDAT,WKS,Y,LOTUS,Y/A
  1855.  
  1856.  
  1857.  
  1858.      TRANSLATION COMMAND LINE EXAMPLE 2
  1859.  
  1860.      To perform a translation from the command line using the following
  1861.      parameters:
  1862.  
  1863.         Mask File name           MYMASK
  1864.         Input File name          as specified in the mask
  1865.         Output File name         as specified in the mask
  1866.         Translation type         WKS
  1867.         Display on               default to yes
  1868.         Program to run           none
  1869.         Confirm include/exclude  default to no
  1870.  
  1871.      The command line should read:
  1872.  
  1873.         AI MYMASK,,,WKS
  1874.  
  1875.  
  1876.      TRANSLATION COMMAND LINE EXAMPLE 3
  1877.  
  1878.      To perform a translation from the command line using the following
  1879.      parameters:
  1880.  
  1881.         Mask File name           MYMASK
  1882.         Input File name          as specified in the mask
  1883.         Output File name         as specified in the mask
  1884.         Translation type         as specified in the mask
  1885.         Display on               default to yes
  1886.         Program to run           none
  1887.         Confirm include/exclude  default to no
  1888.  
  1889.      The command line should read:
  1890.  
  1891.         AI MYMASK
  1892.  
  1893.  
  1894.  
  1895.      TRANSLATION COMMAND LINE EXAMPLE 4
  1896.  
  1897.      To perform a translation from the command line using the following
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911.  
  1912.      parameters:
  1913.  
  1914.         Mask File name           MYMASK
  1915.         Input File name          ORIGINAL.DAT
  1916.         Output File name         GOOD
  1917.         Translation type         as specified in the mask
  1918.         Display on               default to yes
  1919.         Program to run           none
  1920.         Confirm include/exclude  default to no
  1921.         File-combine             /C
  1922.  
  1923.      The command line should read:
  1924.  
  1925.         AI MYMASK,ORIGINAL.DAT,GOOD/C
  1926.  
  1927.  
  1928.      >> UTILITIES COMMAND LINE <<
  1929.  
  1930.      The running of a utility can be initiated from a DOS command line.
  1931.  
  1932.      Syntax:
  1933.          AIUTIL option[=v1[,v2]] input [output] [/W]
  1934.  
  1935.      The option, input file name and output file name parameters are positional
  1936.      and separated by spaces.
  1937.  
  1938.      option    Option or utility to be performed.  AutoImport offers eleven
  1939.                options or utilities.
  1940.  
  1941.                L     Line-split
  1942.                R     Record-split
  1943.                T     Tab-expansion
  1944.                C     CSV (Comma Separated Variable) to columnar
  1945.                F     Fixed length records
  1946.                S     Statistics
  1947.                U     Unstack
  1948.                D     Dbase to ASCII columnar
  1949.                H     Header of dBase to ASCII file
  1950.                A     ASCII to EBCDIC
  1951.                E     EBCDIC to ASCII
  1952.  
  1953.                The options and examples of their uses are described later in
  1954.                this section.
  1955.  
  1956.      v1 & v2   Required and/or optional values.  Whether these values are used
  1957.                depends on the utility option specified.
  1958.  
  1959.      input     Input File name, including the path and extension if necessary.
  1960.  
  1961.      output    Output File name, without an extension, but including any drive
  1962.                and path specifications necessary to tell AutoImport where to
  1963.                find the file, if an existing file, and where to place the file,
  1964.                if a new file.  If an Output File name is not specified, the
  1965.                Output Files will have the same path and name as the Input File. 
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.                AutoImport provides unique, sequential file extensions (.A1
  1981.                through .A99), as some options produce more than one Output File.
  1982.  
  1983.      /W        Includes a Warning if AutoImport detects that the Output File
  1984.                name specified already exists.  Stops the program and prompts
  1985.                whether to proceed.  If not specified, any file(s) having the
  1986.                same name as the Output File will be overwritten.
  1987.  
  1988.      AutoImport offers eleven options or utilities.  Descriptions of these
  1989.      options and examples of their use are provided below:
  1990.  
  1991.      L=v1      LINE-SPLIT     Splits the Input File vertically by producing two
  1992.                               or more Output Files with shorter record lengths. 
  1993.                               The value v1 is the maximum record length in the
  1994.                               Output Files.
  1995.  
  1996.                               For example, to split the file INFILE.DAT into
  1997.                               files with a record length of 80 and output the
  1998.                               data into files with the name of OUTFILE, the
  1999.                               command line would read as follows:
  2000.  
  2001.                                    AIUTIL L=80 INFILE.DAT OUTFILE
  2002.  
  2003.                               The number of files created depends on the length
  2004.                               of the Input File and the number of characters
  2005.                               specified as the maximum length for each Output
  2006.                               File.  The first Output File is named OUTFILE.A1,
  2007.                               the second OUTFILE.A2, etc.
  2008.  
  2009.      R=v1      RECORD-SPLIT   Splits the Input File into two or more files with
  2010.                               fewer records in each Output File.  The value v1
  2011.                               is the maximum number of records in the Output
  2012.                               Files.
  2013.  
  2014.                               For example, to split the file INFILE.DAT into
  2015.                               files with no more than 8192 records per file, the
  2016.                               command line would read as follows:
  2017.  
  2018.                                    AIUTIL R=8192 INFILE.DAT
  2019.  
  2020.                               The number of files created depends on the length
  2021.                               of the Input File and the number of records
  2022.                               specified as the maximum for each Output File. 
  2023.                               The first Output File is named INFILE.A1, the
  2024.                               second INFILE.A2, etc.
  2025.  
  2026.      T=v1      TABS           Expands tab characters by the value indicated by
  2027.                               v1.  This value sets the number of spaces to use
  2028.                               as tab stops.
  2029.  
  2030.                               For example, to expand the tabs in the file
  2031.                               INFILE.DAT with tab stops of 8, the command line
  2032.                               would read as follows:
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.                                    AIUTIL T=8 INFILE.DAT 
  2049.  
  2050.      C         CSV            Converts a comma separated variable file into a
  2051.                               file with fields of fixed length.
  2052.  
  2053.                               For example, to convert the file INFILE.DAT, the
  2054.                               command line would read as follows:
  2055.  
  2056.                                    AIUTIL C INFILE.DAT
  2057.  
  2058.      F=v1[,v2] FIXED          Converts a fixed length record file that does not
  2059.                               have record separators into a sequential file with
  2060.                               record separators.  The value v1 is the length of
  2061.                               each record in characters.  The optional value v2
  2062.                               is the number of characters to skip at the
  2063.                               beginning of the Input File before outputing
  2064.                               records.  This option is useful when the first
  2065.                               part of the file contains header information or
  2066.                               other data that should not be translated.
  2067.  
  2068.                               For example, to convert the file INFILE.DAT into
  2069.                               sequential records with a length of 16 and to skip
  2070.                               the first 18 bytes in the file, the command line
  2071.                               would read as follows:
  2072.  
  2073.                               AIUTIL F=16,18 INFILE.DAT
  2074.  
  2075.      S         STATISTICS     Displays statistics about the Input File.  The
  2076.                               statistics include the length of the longest line,
  2077.                               the number of lines, and whether the file contains
  2078.                               tab characters.
  2079.  
  2080.                               For example, to display statistics about the file
  2081.                               INFILE.DAT, the command line would read as follows
  2082.                               as follows:
  2083.  
  2084.                                    AIUTIL S INFILE.DAT
  2085.  
  2086.      U=v1[,v2] UNSTACK        Unstacks a file containing multiple lines that
  2087.                               logically go together, but are on separate lines. 
  2088.                               The value v1 specifies the number of lines to be
  2089.                               combined into a single line.  The optional         
  2090.                               value v2 is the number of lines to skip at the
  2091.                               beginning of the file before combining lines. 
  2092.                               This option is useful if the first part of the
  2093.                               file contains header information or other data
  2094.                               that should not be translated.
  2095.  
  2096.                               For example, to unstack the file INFILE.DAT by
  2097.                               combining each pair of lines in the Input File,
  2098.                               skipping the first 5 lines, the command line would
  2099.                               read:
  2100.                                    AIUTIL U=2,5 INFILE.DAT
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.      D         DBASE          Creates a sequential file that is usable by
  2117.                               AutoImport from a dBase II, III or IV data file.
  2118.  
  2119.                               For example, to convert the dBase file INFILE.DBF
  2120.                               to a sequential file, the command line would read
  2121.                               as follows:
  2122.  
  2123.                                    AIUTIL D INFILE.DBF
  2124.  
  2125.      H         HEADER         Outputs the dBase file structure contained in the
  2126.                               database file's header record.
  2127.  
  2128.                               For example, to output the structure of the dBase
  2129.                               file INFILE.DBF, the command line would read as
  2130.                               follows:
  2131.  
  2132.                                    AIUTIL H INFILE.DBF
  2133.  
  2134.      A         ASCII TO EBCDIC
  2135.                               Converts a file whose characters are encoded in
  2136.                               ASCII (used by PC's) into a file encoded in EBCDIC
  2137.                               (used by IBM midrange and mainframe computers).
  2138.  
  2139.                               For example, to convert the ASCII file INFILE.DAT
  2140.                               to an EBCDIC file, the command line would read as
  2141.                               follows:
  2142.  
  2143.                                    AIUTIL A INFILE.DAT
  2144.  
  2145.      E         EBCDIC TO ASCII
  2146.                               Converts a file whose characters are encoded in
  2147.                               EBCDIC into a file encoded in ASCII, that is
  2148.                               usable by AutoImport.
  2149.  
  2150.                               For example, to convert the EBCDIC file INFILE.DAT
  2151.                               to an ASCII file, the command line would read as
  2152.                               follows:
  2153.  
  2154.                                    AIUTIL E INFILE.DAT
  2155.  
  2156.  
  2157.  
  2158.      >> PRINTER INTERCEPTOR COMMAND LINE <<
  2159.  
  2160.      The Printer Interceptor terminate and stay resident (TSR) program that
  2161.      intercepts output going to a printer port and redirects the output to a
  2162.      file can be installed in memory from a DOS command line.  Additionally, the
  2163.      current installation in memory can be modified from the DOS command line.
  2164.  
  2165.      Syntax:
  2166.  
  2167.           PI printer filename [/A][/Bv][/N][/P][/Q][/Tv][/S][/U]
  2168.  
  2169.      The printer and file name parameters are positional and separated by
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.      spaces.  The switches are not separated by spaces, and can be in any order.
  2185.  
  2186.      printer   Printer port to be intercepted.  Valid printer ports are PRN,
  2187.                LPT1, LPT2, and LPT3.  To intercept a serial port, the DOS MODE
  2188.                command must be used to redirect output to one of the parallel
  2189.                ports before starting Printer Interceptor.
  2190.  
  2191.      filename  Capture File name, including the drive, path and extension if
  2192.                necessary.  This file will receive the information intercepted
  2193.                from the printer port.  If no drive or path is specified, the
  2194.                Capture File is placed in the current directory.  If no extension
  2195.                is provided, PRN will be used.
  2196.  
  2197.      /A        Appends the intercepted data to the end of the Capture File.  The
  2198.                default is to overwrite the file if it exists.
  2199.  
  2200.      /Bv       Specifies the size of the memory buffer with "v" that Printer
  2201.                Interceptor uses in writing to the Capture File.  The larger the
  2202.                buffer, the faster Printer Interceptor operates.  The default
  2203.                buffer size is 5,120 bytes.  The buffer can be no larger than
  2204.                62,000 bytes.
  2205.  
  2206.                The larger the buffer size, the more memory that is required to
  2207.                install printer interceptor, and the less memory that is
  2208.                available for other applications.  With a larger buffer size,
  2209.                Printer Interceptor physically writes to the disk less often.
  2210.  
  2211.                NOTE:   If the buffer size is not adequate, some applications on
  2212.                fast computers may overflow the buffer before Printer Interceptor
  2213.                can write its contents to disk.  If this occurs, Printer
  2214.                Interceptor beeps and some data will be missing from the Capture
  2215.                File.
  2216.  
  2217.      /N        Disables the hot-key combination of <Alt-Shift-P> that toggles
  2218.                interception on and off.
  2219.  
  2220.                NOTE:   The /N switch should be specified if another TSR is using
  2221.                the same hot-key combination of <Alt-Shift-P>.
  2222.  
  2223.      /P        Prints the data while intercepting to a file.  The default mode
  2224.                only captures the data to the file and does not print it.  The /P
  2225.                option should only be used if a printer is connected to the port
  2226.                from which output is being intercepted.
  2227.  
  2228.      /Q        Selects quiet operation.  To confirm that it is working, Printer
  2229.                Interceptor defaults to audible operation (speaker buzzes during
  2230.                interception).
  2231.  
  2232.      /Tv       Times out after the number of seconds specified with "v" after
  2233.                interception of the last character.  When time out occurs, the
  2234.                capture buffer is flushed and the Capture File is closed. 
  2235.                Printer Interceptor writes from its buffer to the Capture File if
  2236.                the buffer fills, if time out occurs, or under certain other
  2237.                conditions.  The time out can be set to any number of seconds
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.                between 0 and 3600 (1 hour).  The default is 30 seconds.
  2253.  
  2254.                Time out does not stop printer interception.  Time out has two
  2255.                uses.  It can be used to verify that the intercepted data is
  2256.                physically written to the disk for protection from loss of
  2257.                electrical power.  It is also used with interception of date and
  2258.                time stamped files (discussed later in this section).
  2259.  
  2260.      /S        Stops interception by deactivating Printer Interceptor.
  2261.  
  2262.      /U        Un-installs or removes Printer Interceptor from memory.
  2263.  
  2264.  
  2265.      PRINTER INTERCEPTOR COMMAND LINE EXAMPLE
  2266.  
  2267.      Following is an example of a command line for intercepting output normally
  2268.      routed to LPT1.  This line sends the data to the file named CAPTURE.DAT in
  2269.      the directory MYDIR, as well as sending it to the printer.
  2270.  
  2271.           PI LPT1 \MYDIR\CAPTURE.DAT /P
  2272.  
  2273.  
  2274.      CHANGING PRINTER INTERCEPTOR'S SETTINGS
  2275.  
  2276.      Printer Interceptor does not have to be stopped in order to change the port
  2277.      from which data is being intercepted or the file that should receive the
  2278.      data.  Simply, reissue the PI command with the printer and file name
  2279.      parameters, and any desired switches.
  2280.  
  2281.  
  2282.      DISPLAYING THE CURRENT SETTINGS
  2283.  
  2284.      To see the current settings for Printer Interceptor after it is installed
  2285.      in memory, issue the PI command with no parameters.
  2286.  
  2287.  
  2288.      TEMPORARILY STOPPING PRINTER INTERCEPTOR
  2289.  
  2290.      After Printer Interceptor is installed, it can be temporarily deactivated
  2291.      from the DOS command line by issuing the PI /S command.  All interception
  2292.      stops.  To restart Printer Interceptor from the DOS command line, simply
  2293.      re-issue the Printer Interceptor command with the desired parameters.
  2294.  
  2295.      To temporarily disable Printer Interceptor by using the hot-key, press
  2296.      <Alt-Shift-P>.  To re-enable Printer Interceptor, press <Alt-Shift-P>
  2297.      again.  Two beeps indicate when Printer Interceptor is disabled; one beep
  2298.      indicates when Printer Interceptor is re-enabled.
  2299.  
  2300.      If Printer Interceptor has been deactivated with the /S option, the
  2301.      <Alt-Shift-P> key combination will beep, but has no effect.
  2302.  
  2303.  
  2304.      DATE AND TIME STAMPED FILES
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.      Printer Interceptor can create Capture Files that have the date and time of
  2321.      interception as part of the file name.  A new date and time stamped file is
  2322.      started after each "time out" as determined by the value of the /T switch,
  2323.      which defaults to 30 seconds.
  2324.  
  2325.      To activate the date and time stamp feature replace the file name on the
  2326.      command line with "D*".  Examples:
  2327.  
  2328.         PI PRN D*
  2329.  
  2330.         PI LPT2 A:\D*.DAT
  2331.  
  2332.         PI LPT1 D*.  /T5
  2333.  
  2334.      The first example places the intercepted output into date and time stamped
  2335.      files in your current directory with a ".PRN" extension.  The second
  2336.      example captures the output going to LPT2 and puts it into files on the A:
  2337.      drive with an extension of ".DAT".  The third example intercepts LPT1 and
  2338.      puts the output into date and time stamped files in the current directory
  2339.      without an extension; the interception "times out" 5 seconds after the last
  2340.      character is received.
  2341.  
  2342.      The name of the Capture File is in the form of MMDDhhmm, where the first 2
  2343.      characters are the month number.  The next 2 characters are the day number,
  2344.      followed by the hour and the minutes.  If the extension is not provided, it
  2345.      will default to ".PRN".  For example, a date and time stamped file created
  2346.      on October 15, 1991 at 1:30 PM would be 10151330.PRN.
  2347.  
  2348.      Printer Interceptor creates a new file with a new date and time stamp if it
  2349.      times out after the last character is intercepted or if Printer Interceptor
  2350.      is temporarily disabled with the <Alt-Shift-P> key combination.
  2351.  
  2352.  
  2353.      UNINSTALLING PRINTER INTERCEPTOR
  2354.  
  2355.      After Printer Interceptor is installed, it can be uninstalled from the DOS
  2356.      command line by issuing the PI /U command.  This removes Printer
  2357.      Interceptor from memory and normal operation of the printer will be
  2358.      resumed.
  2359.  
  2360.  
  2361.      -------------------------  END OF DOCUMENT -------------------------------
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.